package com.hellowx.manager.service.impl;

import com.hellowx.manager.mapper.BrandMapper;
import com.hellowx.manager.pojo.Brand;
import com.hellowx.manager.service.BrandService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author MagicMushroom
 * @date 2021/7/17
 */
@Service("brandService")
public class BrandServiceImpl implements BrandService {

    @Resource
    private BrandMapper brandMapper;

    /**
     *  查询所有的品牌
     * @return  品牌列表
     */
    @Override
    public List<Brand> selectAllBrand() {
        return brandMapper.selectAll();
    }

}
